SELECT T.*,JD.NAME AS TYPE_NA
FROM FD_VARIABLE T
JOIN FD_DICTIONARY JD ON (JD.ID = T.TYPE_ID)
WHERE T.ID = :ID